package models

import "time"

type UserBasic struct {
	Id        int       `json:"id" db:"id"`
	Identity  string    `json:"identity" db:"identity"`
	Name      string    `json:"name" db:"name"`
	Password  string    `json:"password" db:"password"`
	Email     string    `json:"email" db:"email"`
	CreatedAt time.Time `json:"created_at" db:"created_at" xorm:"created"`
	UpdatedAt time.Time `json:"updated_at" db:"updated_at" xorm:"updated"`
	DeletedAt time.Time `json:"deleted_at" db:"deleted_at" xorm:"deleted"`
}

func (u UserBasic) TableName() string {
	return "user_basic"
}
